<tr>
	<td colspan="6" style="padding:0px;">
	<#if child_list??>
		<div id="commonList" style="overflow:auto">
	<table width="100%" cellspacing=1 cellpadding=0>
		<tr class="listviewHeader">
			<#if child_list.listFields?? && child_list.listFields?size gt 0>
			<td align="center" class="listviewTD" width="30px">
			序号
			</td>
			<#list child_list.listFields as listField>
			<#if listField.field?? && (!listField.isHidden?? || listField.isHidden=='0')>
			<td align="${listField.align?default('center')}" width="${listField.width?default(100)}" class="listviewTD">
			${listField.field.displayName?default('')}
			</td>
			</#if>
			</#list>
			</#if>
		</tr>
		<#if child_instance_list?? && child_instance_list?size gt 0>
		<#assign index=1>
		<#list child_instance_list as instance>
		<tr>
			<td align="center" class="listviewTD">
			${index}
			</td>
			<#list child_list.listFields as listField>
				<#if listField.field?? && (!listField.isHidden?? || listField.isHidden=='0')>
				<td align="${listField.align?default('center')}" class="listviewTD">				
					<#if instance.fieldMap?? && instance.fieldMap[listField.field.name]??><#if instance.fieldMap[listField.field.name].displayValue??>${instance.fieldMap[listField.field.name].displayValue}<#else>${instance.fieldMap[listField.field.name].value?default('')}</#if></#if>
				</td>
				</#if>
			</#list>
		</tr>
		<#assign index=index+1>
		</#list>
		</#if>
	</table>
	</div>
	</#if>
	<script>
$(window).resize(historyMothLayout);
	function historyMothLayout(){
		$("#commonList").css("width",window.document.body.clientWidth-36);
	}
	$(function(){
		historyMothLayout();
	})
	</script>
	</td>
</tr>
